package com.cdsf.kennedy.user.service;

import com.cdsf.common.util.Page;
import com.cdsf.kennedy.user.domain.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author: kennedy
 * @Date: Created in 15:45 2018/2/6
 */
public interface UserService {
    void insert(User user);

    User selectOne(User user);

    List<User> getAll(User user, Page page);

    void delete(String uuid);

    User selectByPrimaryKey(String uuid);

    void updateByPrimaryKey(User user);

    void timeOut(int i);

    PageInfo<User> getAll_(User user, Page page);
}
